Skip to content

Handle config decoding errors from DB charset issues#333

Merged
nilmerg merged 2 commits into
mainfrom
docs/database-encoding
May 5, 2025
Merged

Handle config decoding errors from DB charset issues#333
nilmerg merged 2 commits into
mainfrom
docs/database-encoding

Conversation

@jrauh01
Copy link
Copy Markdown
Contributor

@jrauh01 jrauh01 commented Apr 30, 2025

If the database's character set is not set correctly, the decoding of the config attributes may fail. For that case an error message will be rendered in the form. There will also be a docs entry to prevent that.

Closes #271

@jrauh01 jrauh01 self-assigned this Apr 30, 2025
@cla-bot cla-bot Bot added the cla/signed CLA is signed by all contributors of a PR label Apr 30, 2025
@jrauh01 jrauh01 force-pushed the docs/database-encoding branch 2 times, most recently from 7dbe4bd to 832c8fb Compare April 30, 2025 13:44
@jrauh01 jrauh01 requested a review from nilmerg April 30, 2025 13:45
Copy link
Copy Markdown
Member

@nilmerg nilmerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of documenting this, Alex's suggestion makes more sense. (To use the correct encoding automatically) Icinga\Module\Notifications\Common\Database can do that.

Comment thread application/forms/ChannelForm.php Outdated
Comment thread application/forms/ChannelForm.php Outdated
@jrauh01 jrauh01 force-pushed the docs/database-encoding branch from 832c8fb to cf0f817 Compare May 5, 2025 11:14
Copy link
Copy Markdown
Member

@nilmerg nilmerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase

Comment thread application/forms/ChannelForm.php Outdated
@jrauh01 jrauh01 force-pushed the docs/database-encoding branch from cf0f817 to 7f68bc3 Compare May 5, 2025 14:00
@jrauh01 jrauh01 requested a review from nilmerg May 5, 2025 14:02
@nilmerg nilmerg merged commit 3cc4625 into main May 5, 2025
12 checks passed
@nilmerg nilmerg deleted the docs/database-encoding branch May 5, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla/signed CLA is signed by all contributors of a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing information in docs: Database ressource Character Set needs to be utf8

2 participants